#ifndef xBaseWrite_h_h_h_h_h
#define xBaseWrite_h_h_h_h_h

#include "stdafx.h"
#include "COLLADAFW.h"
#include "COLLADASaxFWLLoader.h"
#include "xEngineWrite.h"


namespace XE
{

	class xBaseWrite
	{
	public:
		xBaseWrite( xEngineWrite* pEngineWrite);
		virtual ~xBaseWrite();



		const xEngineWrite::GeometryUniqueIdInstanceGeometryInfoMap& getGeometryUniqueIdInstanceGeometryInfoMap();

		void addGeometryUniqueIdInstanceGeometryInfoPair(const COLLADAFW::UniqueId& geoId, const xEngineWrite::InstanceGeometryInfo& instanceGeoInfo);

		const xEngineWrite::UniqueIdFWMaterialMap& getUniqueIdFWMaterialMap() { return m_pEngineWrite->getUniqueIdFWMaterialMap(); }

		const xEngineWrite::UniqueIdFWImageMap& getUniqueIdFWImageMap() { return m_pEngineWrite->getUniqueIdFWImageMap(); }

		const xEngineWrite::UniqueIdFWEffectMap& getUniqueIdFWEffectMap() { return m_pEngineWrite->getUniqueIdFWEffectMap(); }


	protected:

		xEngineWrite* m_pEngineWrite;
	};



}















#endif 